package com.moneywelcome.investassembly;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@ComponentScan(basePackages = "com.moneywelcome")
@EnableFeignClients(basePackages = "com.moneywelcome")
@EnableScheduling   // 2.开启定时任务
public class InvestAssemblyApplication {

    public static void main(String[] args) {
        SpringApplication.run(InvestAssemblyApplication.class, args);
    }

}
